<?php
echo "<table class='table table-striped table-bordered table-hover dataTable' id='sample_1' aria-describedby='sample_1_info' >";
	echo "<tr>";
		echo "<th>用户iD</th>";
		echo "<th>回复内容</th>";
		echo "<th>时间</th>";
		echo "<th>操作</th>";
	echo "</tr>";
		foreach($data as $k=>$v){
               echo "<tr align='center'>";
                  
                  echo" <td style='width:50px;'>". $v['uid']." </td>";
                  echo "<td>". $v['content'] ."</td>";
                  echo "<td style='width:140px;'>".$v['ctime']."</td>";


                  echo  '<td align="center" style="width:130px;"">';
                   echo '<a href="/admin/fishpond/reanswer/'.$v["qid"].'"><button  class="btn mini purple" style="float:left"><i class="icon-edit"></i>回复</button></a>
              				<span style="float:left" > &nbsp;| &nbsp;</span>';
                   echo "<a href='/admin/fishpond/delAnswer/".$v['id']."'><button class='btn mini black'><i class='icon-trash'></i>删除</button></a>";
                  echo  "</td>";
               echo "</tr>";
             }
echo "</table>";


?>